package com.ocom.netty.mj.service;

import com.ocom.netty.mj.ropo.TcpServiceRopo;

public interface MachTcpService {
    //签到
    byte[] sign(TcpServiceRopo tcpServiceRopo) throws Exception;
    //心跳
    byte[] heartbeat(TcpServiceRopo tcpServiceRopo) throws Exception;
    //门禁离线开门数据上传
    byte[] uploadData(TcpServiceRopo tcpServiceRopo) throws Exception;
    //卡认证开门命令
    byte[] openDoorCommand(TcpServiceRopo tcpServiceRopo) throws Exception;
    //门禁码在线/离线消费
    byte[] doorPay(TcpServiceRopo tcpServiceRopo) throws Exception;
    //获取门禁权限组
    byte[] doorAuth(TcpServiceRopo tcpServiceRopo) throws Exception;
    //获取门禁日期时区表
    byte[] doorTime(TcpServiceRopo tcpServiceRopo) throws Exception;
    //固件更新续传 (0xcc00)
    byte[] updateMach(TcpServiceRopo tcpServiceRopo) throws Exception;
    //固件更新结果通知续传(0xdc00)
    byte[] updateMachSequel(TcpServiceRopo tcpServiceRopo) throws Exception;
    //云卡通2.0黑/白名单全量/增量下传命令（0x0168/0x0170）
    byte[] whiteRecode(TcpServiceRopo tcpServiceRopo) throws Exception;
    //云卡通2.0黑/白名单全量/增量下传结果通知（0x1168/0x1170）
    byte[] whiteRecodeResult(TcpServiceRopo tcpServiceRopo) throws Exception;
    //上报设置二维码（0x8100）
    byte[] qrCode(TcpServiceRopo tcpServiceRopo) throws Exception;
    //离线码秘钥更新(0x0105)
    byte[] updateKey(TcpServiceRopo tcpServiceRopo) throws Exception;
    //离线码秘钥更新通知(0x1105)
    byte[] updateKeyResult(TcpServiceRopo tcpServiceRopo) throws Exception;
    //获取门禁日期时区表结果（0x8109）
    byte[] doorTimeResult(TcpServiceRopo tcpServiceRopo) throws Exception;

    //远程开门（0x0043）
    byte[] distanceOpenDoor(TcpServiceRopo tcpServiceRopo) throws Exception;




}
